package com.ibiaoke.customer.service;

import com.ibiaoke.common.base.Page;
import com.ibiaoke.common.response.Res;
import com.ibiaoke.customer.entity.Deposit;
import com.ibiaoke.customer.entity.vo.DepositVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2017/6/19.
 */
public interface DepositService {
    List<Deposit> listDeposit(String customerMobile, Page page);

    DepositVO getDeposit(Integer customerId);

    int createNewDeposit(Integer customerId);

    Res depositCharge(Integer customerId, BigDecimal money, Integer payType, String openId,String ip);

    int depositCharge(Integer customerId, BigDecimal monney);

    int payOrder(Integer customerId, BigDecimal orderPrice);

    int updatePrice(Integer customerId,BigDecimal money);

    Integer updateDeposit(String customerMobile, BigDecimal money, Integer type);
}
